The main difference between a microprocessor and a microcontroller is that a microprocessor only has a central processing unit, while a microcontroller has a CPU, memory, and input/output all built into one chip.